package com.ls.thread.account;

public class Customer implements Runnable {

	private Account account=null;
	
	
	public Customer(Account account) {
		super();
		this.account = account;
	}


	@Override
	public void run() {
		for(int i=0;i<3;i++){
			account.setMoney(1000);
		}
		
	}
	

}
